home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ahmfreec / _setup.1 / AHMTSpeakersound.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-09  |  1.7 KB  |  56 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'AHMTSpeakerSound.pas' rev: 3.00
  6.  
  7. #ifndef AHMTSpeakerSoundHPP
  8. #define AHMTSpeakerSoundHPP
  9. #include <AHMFreeware.hpp>
  10. #include <Forms.hpp>
  11. #include <Windows.hpp>
  12. #include <Classes.hpp>
  13. #include <SysInit.hpp>
  14. #include <System.hpp>
  15.  
  16. //-- user supplied -----------------------------------------------------------
  17.  
  18. namespace Ahmtspeakersound
  19. {
  20. //-- type declarations -------------------------------------------------------
  21. class DELPHICLASS TAHMSpeakerSound;
  22. class PASCALIMPLEMENTATION TAHMSpeakerSound : public Classes::TComponent 
  23. {
  24.     typedef Classes::TComponent inherited;
  25.     
  26. private:
  27.     Ahmfreeware::TAHMAboutFreeStr FAbout;
  28.     bool fenab;
  29.     bool fdenab;
  30.     void __fastcall Stop(void);
  31.     void __fastcall PlayS(Word Freq);
  32.     void __fastcall SetPort(Word address, Word value);
  33.     Word __fastcall GetPort(Word address);
  34.     
  35. public:
  36.     __fastcall virtual TAHMSpeakerSound(Classes::TComponent* AOwner);
  37.     __fastcall virtual ~TAHMSpeakerSound(void);
  38.     void __fastcall Delay(int MSecs);
  39.     void __fastcall Sound(Word Freq);
  40.     void __fastcall NoSound(void);
  41.     
  42. __published:
  43.     __property Ahmfreeware::TAHMAboutFreeStr About = {read=FAbout, write=FAbout};
  44.     __property bool SoundEnabled = {read=fenab, write=fenab, nodefault};
  45.     __property bool DelayEnabled = {read=fdenab, write=fdenab, nodefault};
  46. };
  47.  
  48. //-- var, const, procedure ---------------------------------------------------
  49.  
  50. }    /* namespace Ahmtspeakersound */
  51. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  52. using namespace Ahmtspeakersound;
  53. #endif
  54. //-- end unit ----------------------------------------------------------------
  55. #endif    // AHMTSpeakerSound
  56.